<template>
  <List :title="title" :query='query'></List>
</template>

<script>
import List from '@/view/live/list.vue'
export default {
   
  head() {
    return {
      title: this.title,
    }
  },
  data() {
    return {
      type: '',
	  query:{}
    }
  },
  computed: {
    title() {
      return this.type != 2 ? '我的直播' : '往期直播'
    }
  },
  components: {
    List
  },
  onLoad(query) {
	  this.query=query;
  	this.type = query.type || ''
  },
  mounted() {
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
</style>
